package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.StoreContractFile;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-11-18
 */
public interface StoreContractFileService extends IService<StoreContractFile> {

    List<StoreContractFile> listByContractId(Long contractId);

    void deleteByFileIdsNotIn(Long contractId, List<Long> fileIds);

    int deleteByContractId(Long contractId);

    List<StoreContractFile> listByContractIdIn(List<Long> contractIds);

}
